<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
	<input type="hidden" name="row[id]" value="{$row.id}">
	<div class="panel panel-default panel-intro">
		<div class="panel-body">
			<div class="form-group">
				<label for="c-companyname" class="control-label col-xs-12 col-sm-2">{:__('公司名称')}:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-companyname" data-rule="required" class="form-control" name="row[companyname]" type="text" value="{$row.companyname|htmlentities}">
				</div>
			</div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('网络意识')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[networkaware]', ['1'=>__('是'), '0'=>__('否')], $row['networkaware'])}
                </div>
            </div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('是否有销售')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[hassales]', ['1'=>__('是'), '0'=>__('否')], $row['hassales'])}
                </div>
            </div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('地方影响力')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[localinfluence]', ['1'=>__('是'), '0'=>__('否')], $row['localinfluence'])}
                </div>
            </div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('老板热情度')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[enthusiasm]', ['1'=>__('是'), '0'=>__('否')], $row['enthusiasm'])}
                </div>
            </div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('是否是生产厂家')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[ismanufacturer]', ['1'=>__('是'), '0'=>__('否')], $row['ismanufacturer'])}
                </div>
            </div>
			<div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('是否有转介绍')}:</label>
                <div class="col-xs-12 col-sm-8">
                    {:build_radios('row[isrecommend]', ['1'=>__('是'), '0'=>__('否')], $row['isrecommend'])}
                </div>
            </div>
		</div>
	</div>		
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('保存')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('取消')}</button>
        </div>
    </div>
</form>
